<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class AssessTemplate.
 * @property int id
 * @property int type
 * @property int status
 */
class AssessTemplate extends Model
{
    use HasFactory;
    use SoftDeletes;

    protected $guarded = [];

    public function rules()
    {
        return $this->hasMany(AssessTemplateRule::class);
    }
}
